package com.wlyy.his.ali.oss;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 阿里云OSS配置
 * @Author zhouyanhui
 **/
@Configuration
public class AliOssConfigration {
    /**
     * 将AliOSSUtil添加到容器
     */
    @Bean
    public AliOSSUtil getAliOSSUtil(){
        return new AliOSSUtil();
    }
    /**
     * 将AliOssProperties添加到容器
     */
    @Bean
    public AliOssProperties getAliOssProperties(){
        return new AliOssProperties();
    }
}
